<template>
    <div class="about">
        <h1 @click="handleClick">This is an second page</h1>
    </div>
</template>
<script>
    import eventHub from "../../utils/eventHub";
    export default {
        methods: {
            handleClick (){
                console.log(222)
                let params = {
                    title: 'test',
                    name: '/about',
                }
                eventHub.$emit("change", params)
            }
        }
    }

</script>
<style scoped>
    .about{

    }
</style>
